package com.lyq.org.mapper;

import com.lyq.basic.mapper.BaseMapper;
import com.lyq.org.domain.Department;
import com.lyq.org.query.DepartmentQuery;
import org.apache.ibatis.annotations.Param;

import java.io.Serializable;
import java.util.List;

/**
 * @Author:liangyunqian
 * @Date: 2022/12/8  12:53
 * @Description:
 */
public interface DepartmentMapper extends BaseMapper<Department> {

    /**
     * 查询部门树
     * @return
     */
    List<Department> tree();

    List<Department> ctree();
}
